6. MORE PROTOCOLS

Internet Protocol addresses (IP addresses)
It is our device's address on 'www'(World Wide Web) or internet.Each devices (smartphone,laptop etc) connected to the internet has assigned it's own IP address.


Dynamic Host Configuration Protocol (DHCP)

9786f5dcd823e1dd8b6913cd4a53befe.png

Behind the scenes

1b26c1db13f02592d0ad1b9abcbe0b2a.png

e85d65d85950be45215c7e46f8643f97.png


Network Address Translation (NAT)

With this protocol internal private IP addresse is "translated" to an external public IP address that can be routed through the internet to its destination.

ad029dc82ac3d375a5674573d8872074.png

NAT device first accepts requests from an internal machine to travel the internet. It then records that machine's IP address in a table and converts the IP address to the external IP address of the router.

Static network address translation (static NAT) is a type of NAT technique that routes and maps network traffic from a static public IP address to an internal private IP address and/or network.


Static IP - fixed or dedicated IP addresses


Ports
IP address is the primary address and the port is the sub-address.

IP Address - Street Address

Port - Apartment Number

a3fbd70ed82e82db9234a526269c223f.png


Port forwarding
Port forwarding is the redirecting of computer signals to follow specific electronic paths (ports) into the computer. It increases speed dramatically.

How packets are transfered?

Packets follow stop-and-go set of rules, where they are required to stop at each major network network intersection and do three things:

  1. Find an open port.

  2. Pass the identification test that will allow them through that port, and if not...

  3. Move to the next port and try again, until they are allowed to pass through one.

In some cases, packets sent by hackers will be caught and held at the intersection, where they will then be dissolved into random electrons.

Instead of having every packet stop at each port in turn until it finds an open port, a router can be programmed to speed up the process by identifying and redirecting packets through port forwarding.